<?php if(!empty($problem)){?>
<div class="jodol">Problems —Fix It</div>
<div class="clear"></div>
<div id="jumat">
        <div id="fixdor">
                <div class="bebek2">
                    <form method="post" action="<?php echo base_url().'progress/progress_con/problem_fix_process/'; if(!empty($problem['ISI_KOMPLAIN'])) echo '1/';else echo '2/';?>">
                        <?php
                            if(!empty($problem['ID_KOMPLAIN'])){
                                echo '<input type="text" name="kode" hidden value="'.$problem['ID_KOMPLAIN'].'">';
                            }
                            else{
                                echo '<input type="text" name="kode" hidden value="'.$problem['ID'].'_'.$problem['KODE_PELATIHAN'].'_'.$problem['ANGKATAN'].'_'.$problem['NOMOR_SESI'].'">';
                            }
                        ?>
                        <img class="avatarmu" src='<?php echo $problem['FOTO']?>' width="48" height="48" />
                        <?php if(!empty($problem['ISI_KOMPLAIN'])) echo $problem['ISI_KOMPLAIN'];
                        else echo $problem['KOMENTAR'];?>
                        <p class="clear"></p>
                        <span class="staff"><?php if(!empty($problem['ISI_KOMPLAIN'])) 
                            echo 'Direct Complain —'.$problem['NAMA'].'<br />'.$problem['TGL_KOMPLAIN'].', '.$problem['WAKTU_KOMPLAIN'];
                        else echo 'Via Students Feedback —'.$problem['NAMA'].' <br />'.$problem['TGL_KOMPLAIN'].', '.$problem['KODE_PELATIHAN'].'-'.$problem['ANGKATAN'].', Sesi-'.$problem['NOMOR_SESI'].', '.$problem['NAMA_RUANGAN'];?></span>
                        <div class="bungkusfix">
                                <div class="fixfix">
                                        <input name="send" type="submit" class="likebut" value="Fix" />
                                </div>
                                <div class="fixsamp"><div class="fixsamp2"></div></div>
                        </div>
                        <p class="clear"></p>
                        <div class="fixyuk"> <textarea class="sayfix say" name="komentar" cols="65" rows="3"><?php echo $problem['KOMENTAR_HANDLING']?></textarea></div>
                    </form>
                </div>
        </div>
</div>
<div class="clear"></div>
<?php } ?>